import { http } from "./reqeust";

// 客户留言
export const submitMessage = (formdata) => {
  return http.post(
    "/?s=/ApiForm/formsubmit&aid=4&platform=wx&session_id=e5b2ca7fd8a27086568cd148f731cc96&pid=0&scene=1001",
    {
      // formid: 2,
      formdata: formdata,
      price: "0.00",
      fromurl: "/pages/index/main?id=15",
      latitude: "",
      longitude: "",
      edit_id: 0,
      feedata: [],
    }
  );
};

// 投诉建议
export const submitSuggestions = (data) => {
  return http.post(
    "/?s=/ApiForm/formsubmit&aid=4&platform=wx&session_id=e5b2ca7fd8a27086568cd148f731cc96&pid=0&scene=1001",
    {
      formid: 3,
      formdata: formdata,
      price: "0.00",
      fromurl: "/pages/index/main?id=15",
      latitude: "",
      longitude: "",
      edit_id: 0,
      feedata: [],
    }
  );
};
